package com.teamfractal.fracdustry.common.data.recipes.init;

import com.teamfractal.fracdustry.common.data.recipes.OreProcessorRecipe;
import com.teamfractal.fracdustry.common.util.FDRegistryHandler;
import net.minecraft.core.Registry;
import net.minecraft.world.item.crafting.RecipeType;
import net.minecraftforge.fmllegacy.RegistryObject;

public class FDRecipeTypes {
    public static RegistryObject<OreProcessorRecipe.Serializer> recipeSerializerOreProcessor = FDRegistryHandler.RecipeSerializers.register(
            "ore_processor", OreProcessorRecipe.Serializer::new);


    public static RecipeType<OreProcessorRecipe> recipeOreProcessor = new OreProcessorRecipe.OreProcessorRecipeType();

    public static void register(){
        Registry.register(Registry.RECIPE_TYPE, OreProcessorRecipe.TYPE_ID, recipeOreProcessor);
    }
}
